package com.guigu.tms.manager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import javax.sql.DataSource;

@SpringBootApplication(exclude = {RedisAutoConfiguration.class, DataSourceAutoConfiguration.class})
@EnableFeignClients(basePackages = {
        "com.guigu.tms.commons.order.feign",
        "com.guigu.tms.commons.aggregation.feign",
        "com.guigu.tms.manager.feign",
        "com.guigu.tms.commons.work.feign",
        "com.guigu.tms.commons.base.feign"
})
public class WebManagerApp {
    public static void main(String[] args) {
        System.out.println("hello!");
        SpringApplication.run(WebManagerApp.class,args);
    }
}
